package com.kangtu.demoaskpager.ask.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 标准答案表
 * </p>
 *
 * @author david
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ans_id", type = IdType.AUTO)
    private Long ansId;

    /**
     * 对应选项内容
     */
    private String ansName;

    /**
     * 题目id
     */
    private Long askId;

    /**
     * 风险因素id
     */
    private Long riskId;

    /**
     * 最小值
     */
    private BigDecimal minValue;

    /**
     * 最大值
     */
    private BigDecimal maxValue;

    /**
     * 删除状态0：未删除1：删除
     */
    private Integer delFlag;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
